package com.xiaoy.core.bpm.engine.api;

import java.io.InputStream;
import java.util.List;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.xiaoy.core.bpm.engine.entity.InstanceProcessVO;
import com.xiaoy.core.bpm.engine.entity.ProcessDefineVO;
import com.xiaoy.core.bpm.engine.entity.ProcessInstantiate;
import com.xiaoy.core.bpm.engine.entity.ProcessNodeVO;
import com.xiaoy.core.bpm.engine.entity.ProcessTask;
import com.xiaoy.core.bpm.engine.exception.BPMEngineException;
/**
 * 适配
 * @author chentianyi
 * 2014年6月17日 上午10:49:20
 */
public class WorkFlowAdapter implements WorkFlow {

	protected  Log logger = LogFactory.getLog(getClass());

	@Override
	public ProcessDefineVO defineProcess(Object... objs) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<ProcessTask> getTaskByUsername(String username) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void delete(String id) {
		// TODO Auto-generated method stub
		
	}



	@Override
	public List<ProcessDefineVO> getAllProcessDefinitions() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public ProcessInstantiate createProcessInstanceById(
			InstanceProcessVO createProcessVO) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<ProcessTask> getCurrentProcessTaskByInstanceId(String instanceId)
			throws BPMEngineException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<ProcessNodeVO> getProcessNodesByDefineId(String defineId) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public InputStream getProcessImageByProcessDefineId(String processDefineId) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public ProcessDefineVO getProcessDefinitionByDeployMentId(String deployMentId)
			throws BPMEngineException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public InputStream getProcessImageByInstanceId(String instanceId)
			throws BPMEngineException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<ProcessInstantiate> getProcessInstancesByDefineId(String id) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List <ProcessDefineVO> myApply(String username) throws BPMEngineException {
		return null;
		// TODO Auto-generated method stub
	}
	
}
